home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / earcd / util / misc / adpcm_pa.lha / FP_ADPCM / DeliPlayers / Source / DeliStubs.asm < prev    next >
Assembly Source File  |  1995-08-12  |  3KB  |  203 lines

  1. ***
  2. *** Here are the C stubs for the DeliTracker interface functions
  3. ***
  4.  
  5.         INCLUDE "DeliPlayer.i"
  6.  
  7.  
  8.         XREF    _DeliBase
  9.  
  10.  
  11.         SECTION Stubs,CODE
  12.  
  13.  
  14.         xdef    _dt_GetListDataAddr
  15.  
  16. _dt_GetListDataAddr    ; dtg_GetListData had to be split up as you can't return two parameters
  17.         bsr.s    _dt_GetListDataSize
  18.         move.l    a0,d0
  19.         rts
  20.  
  21.         xdef    _dt_GetListDataSize
  22.  
  23. _dt_GetListDataSize
  24.         movem.l    a5-a6,-(a7)
  25.         move.l    _DeliBase,a5
  26.         move.l    dtg_GetListData(a5),a0
  27.         jsr    (a0)
  28.         movem.l    (a7)+,a5-a6
  29.         rts
  30.  
  31.         xdef    _dt_LoadFile
  32.  
  33. _dt_LoadFile
  34.         movem.l    a5-a6,-(a7)
  35.         move.l    _DeliBase,a5
  36.         move.l    dtg_LoadFile(a5),a0
  37.         jsr    (a0)
  38.         movem.l    (a7)+,a5-a6
  39.         rts
  40.  
  41.         xdef    _dt_CopyDir
  42.  
  43. _dt_CopyDir
  44.         movem.l    a5-a6,-(a7)
  45.         move.l    _DeliBase,a5
  46.         move.l    dtg_CopyDir(a5),a0
  47.         jsr    (a0)
  48.         movem.l    (a7)+,a5-a6
  49.         rts
  50.  
  51.         xdef    _dt_CopyFile
  52.  
  53. _dt_CopyFile
  54.         movem.l    a5-a6,-(a7)
  55.         move.l    _DeliBase,a5
  56.         move.l    dtg_CopyFile(a5),a0
  57.         jsr    (a0)
  58.         movem.l    (a7)+,a5-a6
  59.         rts
  60.  
  61.         xdef    _dt_CopyString
  62.  
  63. _dt_CopyString
  64.         movem.l    a5-a6,-(a7)
  65.         move.l    _DeliBase,a5
  66.         move.l    dtg_CopyString(a5),a0
  67.         jsr    (a0)
  68.         movem.l    (a7)+,a5-a6
  69.         rts
  70.  
  71.         xdef    _dt_AudioAlloc
  72.  
  73. _dt_AudioAlloc
  74.         movem.l    a5-a6,-(a7)
  75.         move.l    _DeliBase,a5
  76.         move.l    dtg_AudioAlloc(a5),a0
  77.         jsr    (a0)
  78.         movem.l    (a7)+,a5-a6
  79.         rts
  80.  
  81.         xdef    _dt_AudioFree
  82.  
  83. _dt_AudioFree
  84.         movem.l    a5-a6,-(a7)
  85.         move.l    _DeliBase,a5
  86.         move.l    dtg_AudioFree(a5),a0
  87.         jsr    (a0)
  88.         movem.l    (a7)+,a5-a6
  89.         rts
  90.  
  91.         xdef    _dt_StartInt
  92.  
  93. _dt_StartInt
  94.         movem.l    a5-a6,-(a7)
  95.         move.l    _DeliBase,a5
  96.         move.l    dtg_StartInt(a5),a0
  97.         jsr    (a0)
  98.         movem.l    (a7)+,a5-a6
  99.         rts
  100.  
  101.         xdef    _dt_StopInt
  102.  
  103. _dt_StopInt
  104.         movem.l    a5-a6,-(a7)
  105.         move.l    _DeliBase,a5
  106.         move.l    dtg_StopInt(a5),a0
  107.         jsr    (a0)
  108.         movem.l    (a7)+,a5-a6
  109.         rts
  110.  
  111.         xdef    _dt_SongEnd
  112.  
  113. _dt_SongEnd
  114.         move.l    a5,-(a7)
  115.         move.l    _DeliBase,a5
  116.         move.l    dtg_SongEnd(a5),a0
  117.         jsr    (a0)
  118.         move.l    (a7)+,a5
  119.         rts
  120.  
  121.         xdef    _dt_CutSuffix
  122.  
  123. _dt_CutSuffix
  124.         movem.l    a5-a6,-(a7)
  125.         move.l    _DeliBase,a5
  126.         move.l    dtg_CutSuffix(a5),a0
  127.         jsr    (a0)
  128.         movem.l    (a7)+,a5-a6
  129.         rts
  130.  
  131.         xdef    _dt_SetTimer
  132.  
  133. _dt_SetTimer
  134.         move.l    a5,-(a7)
  135.         move.l    _DeliBase,a5
  136.         move.l    dtg_SetTimer(a5),a0
  137.         jsr    (a0)
  138.         move.l    (a7)+,a5
  139.         rts
  140.  
  141.         xdef    _dt_WaitAudioDMA
  142.  
  143. _dt_WaitAudioDMA
  144.         move.l    a5,-(a7)
  145.         move.l    _DeliBase,a5
  146.         move.l    dtg_WaitAudioDMA(a5),a0
  147.         jsr    (a0)
  148.         move.l    (a7)+,a5
  149.         rts
  150.  
  151.         xdef    _dt_LockScreen
  152.  
  153. _dt_LockScreen
  154.         movem.l    a5-a6,-(a7)
  155.         move.l    _DeliBase,a5
  156.         move.l    dtg_LockScreen(a5),a0
  157.         jsr    (a0)
  158.         movem.l    (a7)+,a5-a6
  159.         rts
  160.  
  161.         xdef    _dt_UnlockScreen
  162.  
  163. _dt_UnlockScreen
  164.         movem.l    a5-a6,-(a7)
  165.         move.l    _DeliBase,a5
  166.         move.l    dtg_UnlockScreen(a5),a0
  167.         jsr    (a0)
  168.         movem.l    (a7)+,a5-a6
  169.         rts
  170.  
  171.         xdef    _dt_NotePlayer
  172.  
  173. _dt_NotePlayer
  174.         move.l    a5,-(a7)
  175.         move.l    _DeliBase,a5
  176.         move.l    dtg_NotePlayer(a5),a0
  177.         jsr    (a0)
  178.         move.l    (a7)+,a5
  179.         rts
  180.  
  181.         xdef    _dt_AllocListData
  182.  
  183. _dt_AllocListData
  184.         movem.l    a5-a6,-(a7)
  185.         move.l    _DeliBase,a5
  186.         move.l    dtg_AllocListData(a5),a0
  187.         jsr    (a0)
  188.         movem.l    (a7)+,a5-a6
  189.         rts
  190.  
  191.         xdef    _dt_FreeListData
  192.  
  193. _dt_FreeListData
  194.         movem.l    a5-a6,-(a7)
  195.         move.l    _DeliBase,a5
  196.         move.l    dtg_FreeListData(a5),a0
  197.         jsr    (a0)
  198.         movem.l    (a7)+,a5-a6
  199.         rts
  200.  
  201.  
  202.         END
  203.